package com.hshoesmall.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hshoesmall.demo.model.entity.ShoesOrder;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ShoesOrderMapper extends BaseMapper<ShoesOrder> {

    @Select("SELECT * FROM `orders` WHERE  ouid  = 1  ORDER BY ordertime ")
    List<ShoesOrder> getOrderList ();
}
